<?php
// +----------------------------------------------------------------------
// | User: DaMing
// +----------------------------------------------------------------------
// | Email: 3228985941@qq.com
// +----------------------------------------------------------------------
// | Date: 2021/12/14
// +----------------------------------------------------------------------
// | Time: 13:20
// +----------------------------------------------------------------------

namespace app\dm\basic;

use think\Model;

/**
 * Class BaseModel
 * @package app\dm\basic
 * @mixin ModelTrait
 */
abstract class BaseModel extends Model
{
    // 开启自动写入时间戳
    protected $autoWriteTimestamp = true;
    // 定义时间戳字段名
    protected $createTime = 'createTime';
    protected $updateTime = 'updateTime';
}
